
import { legacy_createStore as createStore, combineReducers } from 'redux';

//导入 shopReducer
import shopReducer from './modules/shop';
// 导入userReducer 
import userReducer from './modules/user';

const store = createStore(
    combineReducers({
        shop: shopReducer,
        user: userReducer
    }),
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);

export default store


